<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p2_学子商城首页</title>
    <style>
        /*<!--        公共的CSS-->*/
        * {
            margin: 0;
            padding: 0;
        }

        .center {
            margin: 0 auto;
            width: 1000px;
        }

        a {
            text-decoration: none;
        }

        ul { /* 去除列表项中自带的标识符(黑色实心圆)*/
            list-style: none;
        }

        /*<!--        1f CSS-->*/
        .f1 {
            overflow: hidden;
            margin-bottom: 10px;
            position: relative;
        }

        .text {
            width: 245px;
            height: 232px;
        }

        .p_title {
            color: #333;
            font-size: 32px;
            font-weight: lighter;
            margin-bottom: 12px;
        }

        .p_intro {
            color: #666;
            font-size: 12px;
            font-weight: lighter;
            margin-bottom: 24px;
        }

        .p_money {
            color: #0aa1ed;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 12px;
        }
        .img1 {
            transition: 1s;
        }
        .img1:hover{
            transform: scale(1.1);
        }

        /*<!--        1f 左侧CSS-->*/
        .f1 > .left {
            width: 611px;
            height: 376px;
            background-color: #e8e8e8;
            margin-right: 10px;
            position: relative;
        }

        .f1 > .left > .text {
            margin-top: 68px;
            margin-left: 36px;
        }

        .f1 > .left > img {
            width: 318px;
            height: 319px;
            position: absolute;
            top: 35px;
            left: 265px;
        }

        /*后代选择器*/
        .f1 .text> a {
            width: 132px;
            height: 40px;
            color: #fff;
            background-color: #0aa1ed;
            /*因为是超链接是行级元素，不能设置宽高 所以设置成块级元素*/
            display: block;
            text-align: center;
            line-height: 40px;
            border-radius: 5px;
        }

        /*<!          1f 右侧CSS-- >*/
        .f1 > .reight {
            width: 375px;
            height: 376px;
            background-color: yellow;
            float: left;
            position: relative;
        }

        .f1 > .reight > .text {
            margin-top: 39px;
            margin-left: 25px;
            position: relative;
            z-index: 10;
        }

        .f1 > .reight > .text > a {
            border-radius: 3px;
        }

        .f1 > .reight > img {
            width: 292px;
            height: 232px;
            /*定位97行*/
            position: absolute;
            top: 130px;
            left: 75px;
        }

        /*<!--        2f  CSS-->*/
        .f2 {
            overflow: hidden;
        }

        /*<!--        2f 左侧CSS-->*/
        .f2 > .left {
            width: 366px;
            height: 233px;
            background-color:#e8e8e8;
            float: left;
            margin-right: 20px;
        }

        .f2 > .left > .tit {
            height: 35px;
            background-color: #0aa1ed;
            position: relative;
        }

        .f2 > .left > .tit > img {
            width: 29px;
            height: 20px;
            position: absolute;
            top: 8px;
            left: 10px;
        }

        /*       二楼标题文字*/
        .f2 > .left > .tit > span {
            position: absolute;
            left: 49px;
            line-height: 35px;
            color: #fff;
        }

        .f2 > .left > .item_all {
            padding-left: 12px;
        }

        /*二楼内容*/
        .f2 > .left > .item_all > p  {
            font-size: 12px;
            color: #62b5ec;
            margin-top: 17px;
            margin-bottom: 9px;
        }
        .f2 > .left > .item_all >ul{
            overflow: hidden;
        }
        .f2 > .left > .item_all >ul>li{
            margin-right: 10px;
            float: left;
        }
        .f2>.left>.item_all>ul>li>a {
            font-size: 12px;
            color: #0aa1ed;
        }
        /*<!--        2f  右侧CSS-->*/
        .f2 > .card {
            width: 198px;
            height: 233px;
            background-color: #e8e8e8;
            float: left;
            margin-right: 8px;
            text-align: center;
        }

        .f2 > .card3 {
            margin-right: 0;
        }
        .f2>.card>img{
            width: 100%;
        }
        .f2>.card>.p_intro{
            font-size: 12px;
            color: #000;
            font-weight: lighter;
            margin-bottom: 6px;
        }
        .f2>.card>.p_money{
            color: #0aa1ed;
            font-size: 12px;
            font-weight: bold;
            margin: 6px;
        }
        .f2 .card>a{
            display: block;
            width: 100px;
            height: 24px;
            color: #fff;
            font-size: 12px;
            line-height: 24px;
            text-align: center;
            background-color: #0aa1ed;
            margin: 0 auto;
        }
    </style>
</head>
<body>
<div class="main">
    <div class="center">
        <div class="f1">
            <div class="left">
                <div class="text">
                    <p class="p_title">灵越 燃7000系列</p>
                    <p class="p_intro">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                        英特尔HD显卡620含共享显卡内存</p>
                    <p class="p_money">￥4999.00</p>
                    <a href="#" class="f1_left_a">查看详情</a>
                </div>
                <img src="img/computer1.png" class="img1">
            </div>
            <div class="reight">
                <div class="text">
                    <p class="p_title">颜值 框不住</p>
                    <p class="p_intro">酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                        英特尔HD显卡620含共享显卡内存</p>
                    <p class="p_money">￥6888.00</p>
                    <a href="#">查看详情</a>
                </div>
                <img src="img/computer2.png" class="img1">
            </div>
        </div>
        <div class="f2">
            <div class="left">
                <div class="tit">
                    <img src="img/icon.png" alt="">
                    <span>电脑，办公/1F</span>
                </div>
                <div class="item_all">
                    <p>电脑整机</p>
                    <ul>
                        <li><a href="#">笔记本</a></li>
                        <li><a href="#">游戏本</a></li>
                        <li><a href="#">台式机</a></li>
                        <li><a href="#">一体机</a></li>
                        <li><a href="#">服务器</a></li>
                        <li><a href="#">联想</a></li>
                    </ul>
                    <p>电脑配件</p>
                    <ul>

                        <li><a href="#">CPU</a></li>
                        <li><a href="#">SSD硬盘</a></li>
                        <li><a href="#">显示器</a></li>
                        <li><a href="#">显卡</a></li>
                        <li><a href="#">组装电脑</a></li>
                        <li><a href="#">机箱</a></li>
                    </ul>
                    <p>外设/游戏</p>
                    <ul>
                        <li><a href="#">键盘</a></li>
                        <li><a href="#">鼠标</a></li>
                        <li><a href="#">U盘</a></li>
                        <li><a href="#">移动硬盘</a></li>
                        <li><a href="#">游戏设备</a></li>
                        <li><a href="#">智能单车</a></li>
                    </ul>
                </div>
            </div>

            <div class="card">
                <img src="img/computer3.png" class="img1">
                <p class="p_intro">
                    戴尔(DELL)XPS13-9360-R1609 13.3英 <br>
                    寸微边框笔记本电脑
                </p>
                <p class="p_money">￥4600.00</p>
                <a href="#">查看详情</a>
            </div>
            <div class="card">
                <img src="img/computer4.png" class="img1">
                <p class="p_intro">
                    14.8mm超轻薄笔记本电脑 航海王版 <br>
                    13.3英寸微边框笔记本电脑
                </p>
                <p class="p_money">￥5600.00</p>
                <a href="#">查看详情</a>
            </div>

            <div class="card card3">
                <img src="img/computer3.png" class="img1">
                <p class="p_intro">
                    联想(Lenovo) YOGA900 多彩版 13.3 <br>
                    英寸微边框笔记本电脑
                </p>
                <p class="p_money">￥6600.00</p>
                <a href="#">查看详情</a>
            </div>
        </div>
    </div>
</div>
</body>
</html>